From bf30c7b27ef76beb284e2a88662486c3753e69a3 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Wed, 15 Oct 2014 18:33:54 +0100 Subject: [PATCH] tools/mceinject: Fix build after 31d2d1e08a xen-mceinj is another utility which incorrectly makes use of xg_private.h Fix up its include path. While fixing this Makefile, remove some trailing whitespace. Signed-off-by: Andrew Cooper CC: Ian Campbell CC: Ian Jackson CC: Wei Liu CC: Stefano Stabellini CC: Konrad Rzeszutek Wilk Acked-by: Ian Campbell --- tools/tests/mce-test/tools/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/tests/mce-test/tools/Makefile b/tools/tests/mce-test/tools/Makefile index 5ee001f817..aba7177507 100644 --- a/tools/tests/mce-test/tools/Makefile +++ b/tools/tests/mce-test/tools/Makefile @@ -3,9 +3,11 @@ include $(XEN_ROOT)/tools/Rules.mk CFLAGS += -Werror CFLAGS += $(CFLAGS_libxenctrl) +# xen-mceinj.c incorrectly use libxc internals +CFLAGS += -I$(XEN_ROOT)/tools/libxc CFLAGS += $(CFLAGS_libxenguest) -CFLAGS += $(CFLAGS_libxenstore) -CFLAGS += $(CFLAGS_xeninclude) +CFLAGS += $(CFLAGS_libxenstore) +CFLAGS += $(CFLAGS_xeninclude) .PHONY: all all: xen-mceinj -- 2.30.2